package com.eshop.modules.cart.service.dto;

import java.io.Serializable;

public class StoreCartDto implements Serializable
{
    private Long id;
    private Integer uid;
    private String type;
    private Integer productId;
    private String productAttrUnique;
    private Integer cartNum;
    private Integer addTime;
    private Integer isPay;
    private Integer isDel;
    private Integer isNew;
    private Integer combinationId;
    private Integer seckillId;
    private Integer bargainId;
    
    public Long getId() {
        return this.id;
    }
    
    public Integer getUid() {
        return this.uid;
    }
    
    public String getType() {
        return this.type;
    }
    
    public Integer getProductId() {
        return this.productId;
    }
    
    public String getProductAttrUnique() {
        return this.productAttrUnique;
    }
    
    public Integer getCartNum() {
        return this.cartNum;
    }
    
    public Integer getAddTime() {
        return this.addTime;
    }
    
    public Integer getIsPay() {
        return this.isPay;
    }
    
    public Integer getIsDel() {
        return this.isDel;
    }
    
    public Integer getIsNew() {
        return this.isNew;
    }
    
    public Integer getCombinationId() {
        return this.combinationId;
    }
    
    public Integer getSeckillId() {
        return this.seckillId;
    }
    
    public Integer getBargainId() {
        return this.bargainId;
    }
    
    public void setId(final Long id) {
        this.id = id;
    }
    
    public void setUid(final Integer uid) {
        this.uid = uid;
    }
    
    public void setType(final String type) {
        this.type = type;
    }
    
    public void setProductId(final Integer productId) {
        this.productId = productId;
    }
    
    public void setProductAttrUnique(final String productAttrUnique) {
        this.productAttrUnique = productAttrUnique;
    }
    
    public void setCartNum(final Integer cartNum) {
        this.cartNum = cartNum;
    }
    
    public void setAddTime(final Integer addTime) {
        this.addTime = addTime;
    }
    
    public void setIsPay(final Integer isPay) {
        this.isPay = isPay;
    }
    
    public void setIsDel(final Integer isDel) {
        this.isDel = isDel;
    }
    
    public void setIsNew(final Integer isNew) {
        this.isNew = isNew;
    }
    
    public void setCombinationId(final Integer combinationId) {
        this.combinationId = combinationId;
    }
    
    public void setSeckillId(final Integer seckillId) {
        this.seckillId = seckillId;
    }
    
    public void setBargainId(final Integer bargainId) {
        this.bargainId = bargainId;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof StoreCartDto)) {
            return false;
        }
        final StoreCartDto other = (StoreCartDto)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0065: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0065;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$uid = this.getUid();
        final Object other$uid = other.getUid();
        Label_0102: {
            if (this$uid == null) {
                if (other$uid == null) {
                    break Label_0102;
                }
            }
            else if (this$uid.equals(other$uid)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$productId = this.getProductId();
        final Object other$productId = other.getProductId();
        Label_0139: {
            if (this$productId == null) {
                if (other$productId == null) {
                    break Label_0139;
                }
            }
            else if (this$productId.equals(other$productId)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$cartNum = this.getCartNum();
        final Object other$cartNum = other.getCartNum();
        Label_0176: {
            if (this$cartNum == null) {
                if (other$cartNum == null) {
                    break Label_0176;
                }
            }
            else if (this$cartNum.equals(other$cartNum)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$addTime = this.getAddTime();
        final Object other$addTime = other.getAddTime();
        Label_0213: {
            if (this$addTime == null) {
                if (other$addTime == null) {
                    break Label_0213;
                }
            }
            else if (this$addTime.equals(other$addTime)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$isPay = this.getIsPay();
        final Object other$isPay = other.getIsPay();
        Label_0250: {
            if (this$isPay == null) {
                if (other$isPay == null) {
                    break Label_0250;
                }
            }
            else if (this$isPay.equals(other$isPay)) {
                break Label_0250;
            }
            return false;
        }
        final Object this$isDel = this.getIsDel();
        final Object other$isDel = other.getIsDel();
        Label_0287: {
            if (this$isDel == null) {
                if (other$isDel == null) {
                    break Label_0287;
                }
            }
            else if (this$isDel.equals(other$isDel)) {
                break Label_0287;
            }
            return false;
        }
        final Object this$isNew = this.getIsNew();
        final Object other$isNew = other.getIsNew();
        Label_0324: {
            if (this$isNew == null) {
                if (other$isNew == null) {
                    break Label_0324;
                }
            }
            else if (this$isNew.equals(other$isNew)) {
                break Label_0324;
            }
            return false;
        }
        final Object this$combinationId = this.getCombinationId();
        final Object other$combinationId = other.getCombinationId();
        Label_0361: {
            if (this$combinationId == null) {
                if (other$combinationId == null) {
                    break Label_0361;
                }
            }
            else if (this$combinationId.equals(other$combinationId)) {
                break Label_0361;
            }
            return false;
        }
        final Object this$seckillId = this.getSeckillId();
        final Object other$seckillId = other.getSeckillId();
        Label_0398: {
            if (this$seckillId == null) {
                if (other$seckillId == null) {
                    break Label_0398;
                }
            }
            else if (this$seckillId.equals(other$seckillId)) {
                break Label_0398;
            }
            return false;
        }
        final Object this$bargainId = this.getBargainId();
        final Object other$bargainId = other.getBargainId();
        Label_0435: {
            if (this$bargainId == null) {
                if (other$bargainId == null) {
                    break Label_0435;
                }
            }
            else if (this$bargainId.equals(other$bargainId)) {
                break Label_0435;
            }
            return false;
        }
        final Object this$type = this.getType();
        final Object other$type = other.getType();
        Label_0472: {
            if (this$type == null) {
                if (other$type == null) {
                    break Label_0472;
                }
            }
            else if (this$type.equals(other$type)) {
                break Label_0472;
            }
            return false;
        }
        final Object this$productAttrUnique = this.getProductAttrUnique();
        final Object other$productAttrUnique = other.getProductAttrUnique();
        if (this$productAttrUnique == null) {
            if (other$productAttrUnique == null) {
                return true;
            }
        }
        else if (this$productAttrUnique.equals(other$productAttrUnique)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof StoreCartDto;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $uid = this.getUid();
        result = result * 59 + (($uid == null) ? 43 : $uid.hashCode());
        final Object $productId = this.getProductId();
        result = result * 59 + (($productId == null) ? 43 : $productId.hashCode());
        final Object $cartNum = this.getCartNum();
        result = result * 59 + (($cartNum == null) ? 43 : $cartNum.hashCode());
        final Object $addTime = this.getAddTime();
        result = result * 59 + (($addTime == null) ? 43 : $addTime.hashCode());
        final Object $isPay = this.getIsPay();
        result = result * 59 + (($isPay == null) ? 43 : $isPay.hashCode());
        final Object $isDel = this.getIsDel();
        result = result * 59 + (($isDel == null) ? 43 : $isDel.hashCode());
        final Object $isNew = this.getIsNew();
        result = result * 59 + (($isNew == null) ? 43 : $isNew.hashCode());
        final Object $combinationId = this.getCombinationId();
        result = result * 59 + (($combinationId == null) ? 43 : $combinationId.hashCode());
        final Object $seckillId = this.getSeckillId();
        result = result * 59 + (($seckillId == null) ? 43 : $seckillId.hashCode());
        final Object $bargainId = this.getBargainId();
        result = result * 59 + (($bargainId == null) ? 43 : $bargainId.hashCode());
        final Object $type = this.getType();
        result = result * 59 + (($type == null) ? 43 : $type.hashCode());
        final Object $productAttrUnique = this.getProductAttrUnique();
        result = result * 59 + (($productAttrUnique == null) ? 43 : $productAttrUnique.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "StoreCartDto(id=" + this.getId() + ", uid=" + this.getUid() + ", type=" + this.getType() + ", productId=" + this.getProductId() + ", productAttrUnique=" + this.getProductAttrUnique() + ", cartNum=" + this.getCartNum() + ", addTime=" + this.getAddTime() + ", isPay=" + this.getIsPay() + ", isDel=" + this.getIsDel() + ", isNew=" + this.getIsNew() + ", combinationId=" + this.getCombinationId() + ", seckillId=" + this.getSeckillId() + ", bargainId=" + this.getBargainId() + ")";
    }
}
